package com.hyq.learn.dynamic;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author heyuqin
 * @date 2024/6/5 10:29
 */
@SpringBootApplication(scanBasePackages = {"com.hyq.learn"})
@MapperScan(basePackages = {"com.hyq.learn.dynamic.mapper"})
public class DynamicApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder()
                .bannerMode(Banner.Mode.OFF)
                .sources(DynamicApplication.class)
                .run(args);
    }
}
